package com.cndw.kungfu.dao;

import java.util.Map;

import com.cndw.dao.jade.annotation.DAO;
import com.cndw.dao.jade.annotation.KeyColumnOfMap;
import com.cndw.dao.jade.annotation.SQL;

@DAO
public interface ConfigDao {

	public static final String TABLE = "kf__config";
	public static final String FIELDS = "name,configValue";
	
	@KeyColumnOfMap("name")
	@SQL("SELECT "+FIELDS+" from "+TABLE+" ")
	public Map<String, String> loadConfig();
	
	
}
